package com.example.black.myapplication.mynet;

public class MyOKHttp<T> {
    private static final NetWorkManager netWorkManager = NetWorkManager.getNetWorkManager();
    private static final String TAG = Request.class.getSimpleName();
    public MyOKHttp() {
    }

    public  void  sendData(String url, byte[] data, IJSONResponseCallBack<T> callBack, Class<T> responseClass){
        HttpTask<T> task = new HttpTask<>(url, data, callBack, responseClass);
        netWorkManager.addTask(task);
    }
}
